<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">

<html><head><title>ACS_WavPack - NewAC</title><link rel="stylesheet" type="text/css" href="../../styles/main.css"><script language=JavaScript src="../../javascript/main.js"></script><script language=JavaScript src="../../javascript/searchdata.js"></script></head><body class="ContentPage" onLoad="NDOnLoad()"><script language=JavaScript><!--
if (browserType) {document.write("<div class=" + browserType + ">");if (browserVer) {document.write("<div class=" + browserVer + ">"); }}// --></script>

<!--  Generated by Natural Docs, version 1.4 -->
<!--  http://www.naturaldocs.org  -->

<!-- saved from url=(0026)http://www.naturaldocs.org -->




<div id=Content><div class="CSection"><div class=CTopic id=MainTopic><h1 class=CTitle><a name="ACS_WavPack"></a>ACS_WavPack</h1><div class=CBody><p>This unit contains components for decoding/encoding WavPack format.&nbsp; For more detail see <a href="http://www.wavpack.com/" class=LURL target=_top>http://www.wavpack.com/</a>.&nbsp; You will need the wavpackdll.dll shared library to use these components.</p><!--START_ND_SUMMARY--><div class=Summary><div class=STitle>Summary</div><div class=SBorder><table border=0 cellspacing=0 cellpadding=0 class=STable><tr class="SMain"><td class=SEntry><a href="#ACS_WavPack" >ACS_WavPack</a></td><td class=SDescription>This unit contains components for decoding/encoding WavPack format. </td></tr><tr class="SClass"><td class=SEntry><a href="#TWVIn" >TWVIn</a></td><td class=SDescription>WavPack decoder, descends from <a href="ACS_Classes-pas.html#TAuTaggedFileIn" class=LClass id=link1 onMouseOver="ShowTip(event, 'tt1', 'link1')" onMouseOut="HideTip('tt1')">TAuTaggedFileIn</a>. </td></tr><tr class="SGroup SIndent1"><td class=SEntry><a href="#TWVIn.Properties" >Properties</a></td><td class=SDescription></td></tr><tr class="SProperty SIndent2 SMarked"><td class=SEntry><a href="#TWVIn.CorrectionsStream" >CorrectionsStream</a></td><td class=SDescription>WavPack can use two separate files for encoded content: the main file (*.wv) and the file correction stream (*.wvc). </td></tr><tr class="SProperty SIndent2"><td class=SEntry><a href="#TWVIn.Cuesheet" >Cuesheet</a></td><td class=SDescription>Returns an embedded cue-sheet (if the input file contains one).</td></tr><tr class="SProperty SIndent2 SMarked"><td class=SEntry><a href="#TWVIn.Hybrid" >Hybrid</a></td><td class=SDescription>Returns True if the input WavPack stream is hybrid (i.e. </td></tr><tr class="SProperty SIndent2"><td class=SEntry><a href="#TWVIn.Id3v1Tags" >Id3v1Tags</a></td><td class=SDescription>Read this property to get Id3v1Tags attached to the WavPack file.</td></tr><tr class="SProperty SIndent2 SMarked"><td class=SEntry><a href="#TWVIn.APEv2Tags" >APEv2Tags</a></td><td class=SDescription>Read this property to get APEv2Tags attached to the WavPack file.</td></tr><tr class="SProperty SIndent2"><td class=SEntry><a href="#TWVIn.Hybrid" >Hybrid</a></td><td class=SDescription>Returns True if the input WavPack stream is lossless and False otherwise.</td></tr><tr class="SClass"><td class=SEntry><a href="#TWVOut" >TWVOut</a></td><td class=SDescription>WavPack encoder, descends from <a href="ACS_Classes-pas.html#TAuTaggedFileOut" class=LClass id=link2 onMouseOver="ShowTip(event, 'tt2', 'link2')" onMouseOut="HideTip('tt2')">TAuTaggedFileOut</a>. </td></tr><tr class="SGroup SIndent1"><td class=SEntry><a href="#TWVOut.Properties" >Properties</a></td><td class=SDescription></td></tr><tr class="SProperty SIndent2 SMarked"><td class=SEntry><a href="#TWVOut.CorrectionsStream" >CorrectionsStream</a></td><td class=SDescription>WavPack can use two separate files for encoded content: the main file (*.wv) and the file stream (*.wvc). </td></tr><tr class="SProperty SIndent2"><td class=SEntry><a href="#TWVOut.Cuesheet" >Cuesheet</a></td><td class=SDescription>Set this property value to embed a cue-sheet into the output file.</td></tr><tr class="SProperty SIndent2 SMarked"><td class=SEntry><a href="#TWVOut.JointStereo" >JointStereo</a></td><td class=SDescription>Set this property to True to increase compression a little.</td></tr><tr class="SProperty SIndent2"><td class=SEntry><a href="#TWVOut.CompressionLevel" >CompressionLevel</a></td><td class=SDescription>Sets the level of compression for a file/stream being created. </td></tr><tr class="SProperty SIndent2 SMarked"><td class=SEntry><a href="#TWVOut.HybridMode" >HybridMode</a></td><td class=SDescription>WavPack can work in two modes: in hybrid mode it uses two files to store main and correction streams and a single-file mode when one stream stores all the data. </td></tr><tr class="SProperty SIndent2"><td class=SEntry><a href="#TWVOut.Bitrate" >Bitrate</a></td><td class=SDescription>Set the bitrate, an additional quality parameter for the encoder.</td></tr><tr class="SProperty SIndent2 SMarked"><td class=SEntry><a href="#TWVOut.APEv2Tags" >APEv2Tags</a></td><td class=SDescription>Attach APEv2 tags to the file being created.</td></tr></table></div></div><!--END_ND_SUMMARY--></div></div></div>

<div class="CClass"><div class=CTopic><h2 class=CTitle><a name="TWVIn"></a>TWVIn</h2><div class=CBody><p>WavPack decoder, descends from <a href="ACS_Classes-pas.html#TAuTaggedFileIn" class=LClass id=link3 onMouseOver="ShowTip(event, 'tt1', 'link3')" onMouseOut="HideTip('tt1')">TAuTaggedFileIn</a>.&nbsp; Requires wavpackdll.dll.&nbsp; Full WavPack stream may consist of two files the main file (*.wv) and the file correction stream (*.wvc).&nbsp; The *.wvc file is optional.&nbsp; If you set a *.wv file name, the codec will searche for a *.wvc file with the same name, and will raise an exception if the file is not found.&nbsp; Since *.wvc is optional its absence doesn&rsquo;t necessarily indicate an error and the exception may be ignored in the application.</p><!--START_ND_SUMMARY--><div class=Summary><div class=STitle>Summary</div><div class=SBorder><table border=0 cellspacing=0 cellpadding=0 class=STable><tr class="SGroup"><td class=SEntry><a href="#TWVIn.Properties" >Properties</a></td><td class=SDescription></td></tr><tr class="SProperty SIndent1 SMarked"><td class=SEntry><a href="#TWVIn.CorrectionsStream" >CorrectionsStream</a></td><td class=SDescription>WavPack can use two separate files for encoded content: the main file (*.wv) and the file correction stream (*.wvc). </td></tr><tr class="SProperty SIndent1"><td class=SEntry><a href="#TWVIn.Cuesheet" >Cuesheet</a></td><td class=SDescription>Returns an embedded cue-sheet (if the input file contains one).</td></tr><tr class="SProperty SIndent1 SMarked"><td class=SEntry><a href="#TWVIn.Hybrid" >Hybrid</a></td><td class=SDescription>Returns True if the input WavPack stream is hybrid (i.e. </td></tr><tr class="SProperty SIndent1"><td class=SEntry><a href="#TWVIn.Id3v1Tags" >Id3v1Tags</a></td><td class=SDescription>Read this property to get Id3v1Tags attached to the WavPack file.</td></tr><tr class="SProperty SIndent1 SMarked"><td class=SEntry><a href="#TWVIn.APEv2Tags" >APEv2Tags</a></td><td class=SDescription>Read this property to get APEv2Tags attached to the WavPack file.</td></tr><tr class="SProperty SIndent1"><td class=SEntry><a href="#TWVIn.Hybrid" >Hybrid</a></td><td class=SDescription>Returns True if the input WavPack stream is lossless and False otherwise.</td></tr></table></div></div><!--END_ND_SUMMARY--></div></div></div>

<div class="CGroup"><div class=CTopic><h3 class=CTitle><a name="TWVIn.Properties"></a>Properties</h3></div></div>

<div class="CProperty"><div class=CTopic><h3 class=CTitle><a name="TWVIn.CorrectionsStream"></a>CorrectionsStream</h3><div class=CBody><p>WavPack can use two separate files for encoded content: the main file (*.wv) and the file correction stream (*.wvc).&nbsp; If you set a file name, the codec searches for additional file by itself, but if you provide a TStream as a source of data you have to set up the correction stream yourself (if you have one).</p></div></div></div>

<div class="CProperty"><div class=CTopic><h3 class=CTitle><a name="TWVIn.Cuesheet"></a>Cuesheet</h3><div class=CBody><p>Returns an embedded cue-sheet (if the input file contains one).</p></div></div></div>

<div class="CProperty"><div class=CTopic><h3 class=CTitle><a name="TWVIn.Hybrid"></a>Hybrid</h3><div class=CBody><p>Returns True if the input WavPack stream is hybrid (i.e. consists of two sub-streams) and False otherwise.</p></div></div></div>

<div class="CProperty"><div class=CTopic><h3 class=CTitle><a name="TWVIn.Id3v1Tags"></a>Id3v1Tags</h3><div class=CBody><p>Read this property to get Id3v1Tags attached to the WavPack file.</p></div></div></div>

<div class="CProperty"><div class=CTopic><h3 class=CTitle><a name="TWVIn.APEv2Tags"></a>APEv2Tags</h3><div class=CBody><p>Read this property to get APEv2Tags attached to the WavPack file.</p></div></div></div>

<div class="CProperty"><div class=CTopic><h3 class=CTitle><a name="TWVIn.Hybrid"></a>Hybrid</h3><div class=CBody><p>Returns True if the input WavPack stream is lossless and False otherwise.</p></div></div></div>

<div class="CClass"><div class=CTopic><h2 class=CTitle><a name="TWVOut"></a>TWVOut</h2><div class=CBody><p>WavPack encoder, descends from <a href="ACS_Classes-pas.html#TAuTaggedFileOut" class=LClass id=link4 onMouseOver="ShowTip(event, 'tt2', 'link4')" onMouseOut="HideTip('tt2')">TAuTaggedFileOut</a>.&nbsp; Requires wavpackdll.dll.</p><!--START_ND_SUMMARY--><div class=Summary><div class=STitle>Summary</div><div class=SBorder><table border=0 cellspacing=0 cellpadding=0 class=STable><tr class="SGroup"><td class=SEntry><a href="#TWVOut.Properties" >Properties</a></td><td class=SDescription></td></tr><tr class="SProperty SIndent1 SMarked"><td class=SEntry><a href="#TWVOut.CorrectionsStream" >CorrectionsStream</a></td><td class=SDescription>WavPack can use two separate files for encoded content: the main file (*.wv) and the file stream (*.wvc). </td></tr><tr class="SProperty SIndent1"><td class=SEntry><a href="#TWVOut.Cuesheet" >Cuesheet</a></td><td class=SDescription>Set this property value to embed a cue-sheet into the output file.</td></tr><tr class="SProperty SIndent1 SMarked"><td class=SEntry><a href="#TWVOut.JointStereo" >JointStereo</a></td><td class=SDescription>Set this property to True to increase compression a little.</td></tr><tr class="SProperty SIndent1"><td class=SEntry><a href="#TWVOut.CompressionLevel" >CompressionLevel</a></td><td class=SDescription>Sets the level of compression for a file/stream being created. </td></tr><tr class="SProperty SIndent1 SMarked"><td class=SEntry><a href="#TWVOut.HybridMode" >HybridMode</a></td><td class=SDescription>WavPack can work in two modes: in hybrid mode it uses two files to store main and correction streams and a single-file mode when one stream stores all the data. </td></tr><tr class="SProperty SIndent1"><td class=SEntry><a href="#TWVOut.Bitrate" >Bitrate</a></td><td class=SDescription>Set the bitrate, an additional quality parameter for the encoder.</td></tr><tr class="SProperty SIndent1 SMarked"><td class=SEntry><a href="#TWVOut.APEv2Tags" >APEv2Tags</a></td><td class=SDescription>Attach APEv2 tags to the file being created.</td></tr></table></div></div><!--END_ND_SUMMARY--></div></div></div>

<div class="CGroup"><div class=CTopic><h3 class=CTitle><a name="TWVOut.Properties"></a>Properties</h3></div></div>

<div class="CProperty"><div class=CTopic><h3 class=CTitle><a name="TWVOut.CorrectionsStream"></a>CorrectionsStream</h3><div class=CBody><p>WavPack can use two separate files for encoded content: the main file (*.wv) and the file stream (*.wvc).&nbsp; If you set a file name, the codec creates an additional file by itself depending on <a href="#TWVOut.HybridMode" class=LProperty id=link5 onMouseOver="ShowTip(event, 'tt3', 'link5')" onMouseOut="HideTip('tt3')">HybridMode</a> value, but if you provide a TStream as a source of data you have to set up the correction stream yourself (if you need one).&nbsp; See also <a href="#TWVOut.HybridMode" class=LProperty id=link6 onMouseOver="ShowTip(event, 'tt3', 'link6')" onMouseOut="HideTip('tt3')">HybridMode</a>.</p></div></div></div>

<div class="CProperty"><div class=CTopic><h3 class=CTitle><a name="TWVOut.Cuesheet"></a>Cuesheet</h3><div class=CBody><p>Set this property value to embed a cue-sheet into the output file.</p></div></div></div>

<div class="CProperty"><div class=CTopic><h3 class=CTitle><a name="TWVOut.JointStereo"></a>JointStereo</h3><div class=CBody><p>Set this property to True to increase compression a little.</p></div></div></div>

<div class="CProperty"><div class=CTopic><h3 class=CTitle><a name="TWVOut.CompressionLevel"></a>CompressionLevel</h3><div class=CBody><p>Sets the level of compression for a file/stream being created.&nbsp; The possible values are: wvclFast, wvclHigh, and wvclVeryHigh.&nbsp; Higher compression takes longer time to encode.</p></div></div></div>

<div class="CProperty"><div class=CTopic><h3 class=CTitle><a name="TWVOut.HybridMode"></a>HybridMode</h3><div class=CBody><p>WavPack can work in two modes: in hybrid mode it uses two files to store main and correction streams and a single-file mode when one stream stores all the data.&nbsp; In the hybrid mode there is a small, lossy file (similar to an MP3) and a correction file.&nbsp; The small file can play on its own, and sounds just fine.&nbsp; Optionally, the correction file, which is much larger, can be combined with the smaller one for completely lossless playback.&nbsp; See <a href="http://wavpack.com" class=LURL target=_top>http://wavpack.com</a> for more info.&nbsp; If this property is set to True the input content will be packed into a single file or stream.</p></div></div></div>

<div class="CProperty"><div class=CTopic><h3 class=CTitle><a name="TWVOut.Bitrate"></a>Bitrate</h3><div class=CBody><p>Set the bitrate, an additional quality parameter for the encoder.</p></div></div></div>

<div class="CProperty"><div class=CTopic><h3 class=CTitle><a name="TWVOut.APEv2Tags"></a>APEv2Tags</h3><div class=CBody><p>Attach APEv2 tags to the file being created.</p></div></div></div>

</div><!--Content-->


<div id=Footer>Content &copy; 2008-2010 Andrei Borovsky. Design &copy; 2008 Wayne Thursby. <b><u><a href="http://symmetrica.net/newac">Go to the project's main page</a></u></b>&nbsp; &middot;&nbsp; <a href="http://www.naturaldocs.org">Generated by Natural Docs</a></div><!--Footer-->


<div id=Menu><div class=MTitle>NewAC<div class=MSubTitle>v2.5</div></div><div class=MEntry><div class=MGroup><a href="javascript:ToggleMenu('MGroupContent1')">Documentation</a><div class=MGroupContent id=MGroupContent1><div class=MEntry><div class=MFile><a href="../doc/txt/introduction-txt.html">Quick Introduction to NewAC</a></div></div><div class=MEntry><div class=MFile><a href="../doc/txt/about_documentation-txt.html">About the Documentation</a></div></div><div class=MEntry><div class=MFile><a href="../doc/txt/cwguide-txt.html">Component Writer&rsquo;s Guide</a></div></div><div class=MEntry><div class=MFile><a href="../doc/txt/license-txt.html">License</a></div></div><div class=MEntry><div class=MFile><a href="../doc/txt/tips_and_tricks-txt.html">Tips &amp; Tricks</a></div></div><div class=MEntry><div class=MFile><a href="../doc/txt/newac-txt.html">About New Audio Components</a></div></div><div class=MEntry><div class=MFile><a href="../doc/txt/features-txt.html">NewAC Main Features List</a></div></div></div></div></div><div class=MEntry><div class=MGroup><a href="javascript:ToggleMenu('MGroupContent2')">Main Units</a><div class=MGroupContent id=MGroupContent2><div class=MEntry><div class=MFile><a href="ACS_AudioMix-pas.html">ACS_AudioMix</a></div></div><div class=MEntry><div class=MFile><a href="ACS_CDROM-pas.html">ACS_CDROM</a></div></div><div class=MEntry><div class=MFile><a href="ACS_Classes-pas.html">ACS_Classes</a></div></div><div class=MEntry><div class=MFile><a href="ACS_Converters-pas.html">ACS_Converters</a></div></div><div class=MEntry><div class=MFile><a href="ACS_DXAudio-pas.html">ACS_DXAudio</a></div></div><div class=MEntry><div class=MFile><a href="ACS_FLAC-pas.html">ACS_FLAC</a></div></div><div class=MEntry><div class=MFile><a href="ACS_Filters-pas.html">ACS_Filters</a></div></div><div class=MEntry><div class=MFile><a href="ACS_LAME-pas.html">ACS_LAME</a></div></div><div class=MEntry><div class=MFile><a href="ACS_MAC-pas.html">ACS_MAC</a></div></div><div class=MEntry><div class=MFile><a href="ACS_Misc-pas.html">ACS_Misc</a></div></div><div class=MEntry><div class=MFile><a href="ACS_MPC-pas.html">ACS_MPC</a></div></div><div class=MEntry><div class=MFile><a href="ACS_OptimFROG-pas.html">ACS_OptimFROG</a></div></div><div class=MEntry><div class=MFile><a href="ACS_smpeg-pas.html">ACS_SMPEG</a></div></div><div class=MEntry><div class=MFile><a href="ACS_Streams-pas.html">ACS_Streams</a></div></div><div class=MEntry><div class=MFile><a href="ACS_TTA-pas.html">ACS_TTA</a></div></div><div class=MEntry><div class=MFile><a href="ACS_Tags-pas.html">ACS_Tags</a></div></div><div class=MEntry><div class=MFile><a href="ACS_Vorbis-pas.html">ACS_Vorbis</a></div></div><div class=MEntry><div class=MFile id=MSelected>ACS_WavPack</div></div><div class=MEntry><div class=MFile><a href="ACS_Wave-pas.html">ACS_Wave</a></div></div><div class=MEntry><div class=MFile><a href="ACS_WinMedia-pas.html">ACS_WinMedia</a></div></div><div class=MEntry><div class=MFile><a href="AudioDMO-pas.html">AudioDMO</a></div></div><div class=MEntry><div class=MFile><a href="AudioPass-pas.html">AudioPass</a></div></div><div class=MEntry><div class=MFile><a href="AuSampleRate-pas.html">AuSampleRate</a></div></div><div class=MEntry><div class=MFile><a href="AuASIO-pas.html">AuASIO</a></div></div><div class=MEntry><div class=MFile><a href="AuSynch-pas.html">AuSynch</a></div></div><div class=MEntry><div class=MFile><a href="NewACDTS-pas.html">NewACDTS</a></div></div><div class=MEntry><div class=MFile><a href="NewAC_AVI-pas.html">NewAC_AVI</a></div></div><div class=MEntry><div class=MFile><a href="NewAC_DSP-pas.html">NewAC_DSP</a></div></div><div class=MEntry><div class=MFile><a href="NewACAC3-pas.html">NewACAC3</a></div></div><div class=MEntry><div class=MFile><a href="NewACIndicators-pas.html">NewACIndicators</a></div></div></div></div></div><div class=MEntry><div class=MGroup><a href="javascript:ToggleMenu('MGroupContent3')">Utility Units</a><div class=MGroupContent id=MGroupContent3><div class=MEntry><div class=MFile><a href="ACS_Misc-pas.html">ACS_Misc</a></div></div><div class=MEntry><div class=MFile><a href="ACS_Procs-pas.html">ACS_Procs</a></div></div><div class=MEntry><div class=MFile><a href="acs_reg-pas.html">ACS_Reg</a></div></div><div class=MEntry><div class=MFile><a href="ACS_Types-pas.html">ACS_Types</a></div></div></div></div></div><div class=MEntry><div class=MGroup><a href="javascript:ToggleMenu('MGroupContent4')">Tutorials</a><div class=MGroupContent id=MGroupContent4><div class=MEntry><div class=MFile><a href="../demos/Tutorial/AudioProcessor/Main-pas.html">Audio Processor</a></div></div><div class=MEntry><div class=MFile><a href="../demos/Tutorial/ComponentsDemo/ComponentsDemo-pas.html">Components Demo</a></div></div><div class=MEntry><div class=MFile><a href="../demos/Recorders-rippers/Rip'n'listen/Main-pas.html">Rip&rsquo;n&rsquo;Listen Demo</a></div></div></div></div></div><div class=MEntry><div class=MGroup><a href="javascript:ToggleMenu('MGroupContent5')">Index</a><div class=MGroupContent id=MGroupContent5><div class=MEntry><div class=MIndex><a href="../../index/General.html">Everything</a></div></div><div class=MEntry><div class=MIndex><a href="../../index/Classes.html">Classes</a></div></div><div class=MEntry><div class=MIndex><a href="../../index/Constants.html">Constants</a></div></div><div class=MEntry><div class=MIndex><a href="../../index/Functions.html">Functions</a></div></div><div class=MEntry><div class=MIndex><a href="../../index/Properties.html">Properties</a></div></div><div class=MEntry><div class=MIndex><a href="../../index/Types.html">Types</a></div></div><div class=MEntry><div class=MIndex><a href="../../index/Variables.html">Variables</a></div></div></div></div></div><script type="text/javascript"><!--
var searchPanel = new SearchPanel("searchPanel", "HTML", "../../search");
--></script><div id=MSearchPanel class=MSearchPanelInactive><input type=text id=MSearchField value=Search onFocus="searchPanel.OnSearchFieldFocus(true)" onBlur="searchPanel.OnSearchFieldFocus(false)" onKeyUp="searchPanel.OnSearchFieldChange()"><select id=MSearchType onFocus="searchPanel.OnSearchTypeFocus(true)" onBlur="searchPanel.OnSearchTypeFocus(false)" onChange="searchPanel.OnSearchTypeChange()"><option  id=MSearchEverything selected value="General">Everything</option><option value="Classes">Classes</option><option value="Constants">Constants</option><option value="Functions">Functions</option><option value="Properties">Properties</option><option value="Types">Types</option><option value="Variables">Variables</option></select></div><script language=JavaScript><!--
HideAllBut([2], 6);// --></script></div><!--Menu-->



<!--START_ND_TOOLTIPS-->
<div class=CToolTip id="tt1"><div class=CClass>Descends from TAuFileIn, this class is an ancestor of the file input components that use tags.</div></div><div class=CToolTip id="tt2"><div class=CClass>Descends from TAuFileOut, this class is an ancestor of the file output components that use Id3v* tags.</div></div><div class=CToolTip id="tt3"><div class=CProperty>WavPack can work in two modes: in hybrid mode it uses two files to store main and correction streams and a single-file mode when one stream stores all the data. </div></div><!--END_ND_TOOLTIPS-->




<div id=MSearchResultsWindow><iframe src="" frameborder=0 name=MSearchResults id=MSearchResults></iframe><a href="javascript:searchPanel.CloseResultsWindow()" id=MSearchResultsWindowClose>Close</a></div>


<script language=JavaScript><!--
if (browserType) {if (browserVer) {document.write("</div>"); }document.write("</div>");}// --></script></body></html>